<?php
/*
$url = $this->Html->getLink(CURRENT_MODULE);
echo "<a href='$url'>".ucfirst(CURRENT_MODULE)."</a>";
if(!empty($item) && array_key_exists('cod_categoria', $item)){
    $temp = $item['cod_categoria'];
    $k = array_keys($temp);
    $k = array_shift($k);
    $n = array_shift($temp);
    $url = $this->Html->getLink(CURRENT_MODULE."/categoria/show/$k/". GetPlainName($n));
    echo " > <a href='$url'>$n</a>";
}*/

if(!empty($item)){
    $this->LoadComponent($component, "comp");
    $this->comp->$comp_action($compoent, $item);
}else{
    echo "<h1>Nenhum conteúdo encontrado</h1>";
    echo "<p>Não existe nenhum conteúdo relacionado nesta seção</p>";
}
?>